package com.jingbian.cppccbackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 社情民意信息表
 * </p>
 *
 * @author yezi
 * @since 2025-04-26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("public_opinions")
@Schema(name = "PublicOpinions", description = "社情民意信息表")
public class PublicOpinions implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "社情民意ID")
    @TableId(value = "opinion_id", type = IdType.AUTO)
    private Integer opinionId;

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "提出人")
    private String proposer;

    @Schema(description = "原因")
    private String caseReason;

    @Schema(description = "社情民意内容")
    private String opinionContent;

    @Schema(description = "提出人地区")
    private String proposerRegion;

    @Schema(description = "社情民意类型")
    private String opinionType;

    @Schema(description = "是否愿意被公开")
    private Boolean isPublic;

    private String finalDisposition;

    @Schema(description = "状态")
    private String status;

    @Schema(description = "提出时间")
    private LocalDateTime submitTime;

    @Schema(description = "联名成功或者失败")
    private Boolean isSign;

    @Schema(description = "初审时间")
    private LocalDateTime firstAuditTime;

    @Schema(description = "初审是否通过")
    private Boolean isFrist;

    @Schema(description = "复审时间")
    private LocalDateTime recheckTime;

    @Schema(description = "复审是否通过")
    private Boolean isRecheck;

    @Schema(description = "分流时间")
    private LocalDateTime shuntTime;

    @Schema(description = "是否分流")
    private Boolean isShunt;

    @Schema(description = "分流部门")
    private String department;

    @Schema(description = "专项处理时间")
    private LocalDateTime specialHandlingTime;

    @Schema(description = "专项处理是否通过")
    private Boolean isHanding;

    @Schema(description = "最终批复时间")
    private LocalDateTime finalReplyTime;

    @Schema(description = "最终批复是否通过")
    private Boolean isFinal;

    @Schema(description = "处理完结时间")
    private LocalDateTime completionTime;

    @Schema(description = "专项处理结果")
    private String handingResult;

    private Boolean isOr;

    @Schema(description = "进入初审的时间")
    private LocalDateTime isOrTime;

    @Schema(description = "新增主题词")
    private String topic;

    @Schema(description = "新增希望承办单位意愿")
    private String organizerWill;

    private Boolean isCancel;

    private Boolean finalPublic;


}
